<?php
jimport( 'joomla.application.component.controller' );
class MallkitController_mallkit extends JController
{

	/**
	 * Custom Constructor
	 */
	function __constuct( $default = array())
	{
		parent::__construct( $default );
	}


	/**
	 * Cancel operation
	 */
	function cancel()
	{
		$this->setRedirect( 'index.php' );
	}
	
	function display() 
  {
	   $model = &JModel::getInstance( 'MallkitComponentModel' );
		 $table = &$model->getTable();
		
	   $view = new MallkitComponentView( );
	   $view->setModel( $model, true );
	   $view->display();
  } 
}
?>
